package com.star.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr Kong
 * @since 2020-10-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BookShelf implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 书架主键
     */
    @TableId(value = "book_shelf_id", type = IdType.AUTO)
    private Integer bookShelfId;

    /**
     * 用户主键
     */
    private Integer userId;

    /**
     * 小说主键
     */
    private Integer bookId;

    /**
     * 小说历史记录主键
     */
    private Integer bookHistoryId;

    /**
     * 创建时间
     */
    private String bookShelfTime;


}
